home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15621 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: ix.netcom.com!news
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: alt.msdos.programmer,comp.lang.c
  4. Subject: Re: DOS doesn't expands wildcard argument...!
  5. Date: Sat, 20 Apr 1996 02:37:27 GMT
  6. Organization: Netcom
  7. Message-ID: <3177f570.165236126@nntp.ix.netcom.com>
  8. References: <3177b1d9.14121359@news.hk.linkage.net>
  9. NNTP-Posting-Host: ix-dc12-18.ix.netcom.com
  10. X-NETCOM-Date: Fri Apr 19  9:34:36 PM CDT 1996
  11. X-Newsreader: Forte Agent .99d/32.182
  12.  
  13. budlo@bud.com (Bud Lo) wrote:
  14.  
  15. > hello...
  16. > i've written a C program and compiled both a Unix and DOS version,
  17. > the Unix version correctly expands its wildcard argument  like *.jpg 
  18. > into its constituent files while the DOS version do nothing...
  19. > Can anyone suggest solution to make it work in DOS...
  20. > (i know that the Unix's shell do the work of wildcard expansion
  21. > before passing them to my program, and observing this behaviors 
  22. > in DOS, does it imply that command.com simply leave this task to 
  23. > programmer???)
  24.  
  25. Yes, but every C compiler I've seen for DOS includes a file that you
  26. can just link in with your program to get the wildcard expansion.
  27. Check your documentation.
  28.  
  29.  
  30. Michael M Rubenstein
  31.